﻿''' <summary>
''' The + - / amd * functions.
''' </summary>
''' <remarks></remarks>
Public Class Arithmetic

    ''' <summary>
    ''' Addition
    ''' </summary>
    ''' <param name="Num1">Num 1</param>
    ''' <param name="Num2">Num 2</param>
    ''' <returns>The answer.</returns>
    ''' <remarks></remarks>
    Function Add(ByVal Num1 As Double, ByVal Num2 As Double) As Double
        Add = Num1 + Num2
        Return Add
    End Function

    ''' <summary>
    ''' Subtraction
    ''' </summary>
    ''' <param name="Num1">Num 1</param>
    ''' <param name="Num2">Num 2</param>
    ''' <returns>The answer.</returns>
    ''' <remarks></remarks>
    Function Subtract(ByVal Num1 As Double, ByVal Num2 As Double) As Double
        Subtract = Num1 - Num2
        Return Subtract
    End Function

    ''' <summary>
    ''' Multiplication
    ''' </summary>
    ''' <param name="Num1">Num 1</param>
    ''' <param name="Num2">Num 2</param>
    ''' <returns>The answer.</returns>
    ''' <remarks></remarks>
    Function Multiply(ByVal Num1 As Double, ByVal Num2 As Double) As Double
        Multiply = Num1 * Num2
        Return Multiply
    End Function

    ''' <summary>
    ''' Division
    ''' </summary>
    ''' <param name="Num1">Num 1</param>
    ''' <param name="Num2">Num 2</param>
    ''' <returns>The answer.</returns>
    ''' <remarks></remarks>
    Function Divide(ByVal Num1 As Double, ByVal Num2 As Double) As Double
        Divide = Num1 / Num2
        Return Divide
    End Function

End Class
